<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    #chart {
      width: 600px;
      height: 400px;
    }
  </style>
  <script src="https://cdn.bootcdn.net/ajax/libs/echarts/5.0.0/echarts.min.js"></script>
</head>

<body>
  <div id="chart"></div>
  <script>
    const chartDOM = document.getElementById("chart")
    const chart = echarts.init(chartDOM, 'dark')
    chart.setOption({
      xAxis: {
        type: 'category'
      },
      yAxis: [{
        min: 0,
        max: 100
      }, {
        splitLine: {
          show: false
        }
      }],
      dataset: {
        source: [
          ['Prodect', '2012', '2013', '2014', '2015'],
          ['Matcha Latte', 41.1, 30.4, 65.1, 53.3],
          ['Milk Tea', 86.5, 92.1, 85.7, 83.1],
        ]
      },
      series: [{
        type: 'bar',
        seriesLayoutBy: 'row',
        yAxisIndex: 0 // 第一个坐标系
      }, {
        type: 'line',
        seriesLayoutBy: 'row',
        yAxisIndex: 1 // 第二个坐标系
      }]
    })
  </script>
</body>

</html>